package com.zis.core;

import java.util.HashMap;
import java.util.Map;

import com.zis.common.GlobalConfig;


/**
 * 
 * <p>Title: 请求返回错误码信息</p>
 * <p>Description: </p>
 *
 * @author Torlay
 * @version 1.00.00
 * <pre>
 * 修改记录:
 * 版本号    修改人        修改日期       修改内容
 * 
*
 */

public class ConfigFailCode {
	/**
	 * 请求错误码信息
	 */
	public static final Map<Integer, String> GLOBAL_FAIL_CODE = new HashMap<Integer, String>();
	static {
		GLOBAL_FAIL_CODE.put(40001, "服务端token验证失败");
		GLOBAL_FAIL_CODE.put(40002, "接入状态未启用");
		GLOBAL_FAIL_CODE.put(40003, "接入有效日期已过");
		GLOBAL_FAIL_CODE.put(40004, "接入商已经超过限制预约次数");
		
		GLOBAL_FAIL_CODE.put(50001, "当前班次以达到预约上限");
		GLOBAL_FAIL_CODE.put(50002, "预约挂号出现错误");
		GLOBAL_FAIL_CODE.put(50003, "您已进入黑名单限制，将暂时无法预约，请勿频繁取消预约.");
		GLOBAL_FAIL_CODE.put(50004, "姓名、身份证、联系电话错误.");
		GLOBAL_FAIL_CODE.put(50005, "您已超过当天预约限制次数");
		GLOBAL_FAIL_CODE.put(50006, "取消预约失败");
		
		GLOBAL_FAIL_CODE.put(10001, "token、hosId错误，渠道未启用，有效期过期");
		GLOBAL_FAIL_CODE.put(10002, "请求结果为空");
		GLOBAL_FAIL_CODE.put(10003, "请求参数科室id不能为空");
		GLOBAL_FAIL_CODE.put(10004, "请求参数医院id不能为空");
		GLOBAL_FAIL_CODE.put(10005, "请求参数身份证号码不能为空");
		GLOBAL_FAIL_CODE.put(10006, "请求参数患者姓名不能为空");
		GLOBAL_FAIL_CODE.put(10007, "请求参数预约号不能为空");
		
		GLOBAL_FAIL_CODE.put(20002, "已赴约成功");
		GLOBAL_FAIL_CODE.put(20008, "取消预约成功");
		
		GLOBAL_FAIL_CODE.put(30001, "没有查询需要修改的数据");
		
	}

}
